#include <iostream>

using namespace std;

int main()
{
    string b;
    cin >> b;
    int res = 0;
    for(int i = 0; i < b.size(); i ++)
    {
        res = res + b[i] - '0';
    }
    string num = to_string(res);
    string str[10] = {  "zero", "one", "two", "three","four",
                        "five","six","seven","eight", "nine"};
    cout << str[num[0] - '0'];
    for(int i = 1; i < num.size(); i++)
    {
        cout << ' ' << str[num[i] - '0'];
    }
    return 0;
}